package org.mine.design.bridge.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.mine.design.bridge.service.PayFeeService;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class JdFeeServiceImpl implements PayFeeService {
    @Override
    public String platformName() {
        return "京东";
    }

    @Override
    public int calc(int commodityPrices) {
        return commodityPrices / 3;
    }
}
